package cn.stylefeng.guns.modular.yingbao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 团队收益设置表
 * </p>
 *
 * @author jj
 * @since 2019-12-18
 */
@TableName("yingbao_sys_group_setting")
public class SysGroupSetting implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    /**
     * 等级
     */
    @TableField("grade")
    private Integer grade;

    /**
     * 收益
     */
    @TableField("earnings")
    private Integer earnings;

    /**
     * 下级收益
     */
    @TableField("xj_earnings")
    private Integer xjEarnings;

    /**
     * 最大人数
     */
    @TableField("maxi_mum")
    private Integer maxiMum;

    /**
     * 合约类别
     */
    @TableField("contract_type")
    private Integer contractType;
    /**
     * 最小人数
     */
    @TableField("mini_mum")
    private Integer miniMum;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getGrade() {
        return grade;
    }

    public void setGrade(Integer grade) {
        this.grade = grade;
    }

    public Integer getContractType() {
        return contractType;
    }

    public void setContractType(Integer contractType) {
        this.contractType = contractType;
    }

    public Integer getMaxiMum() {
        return maxiMum;
    }

    public void setMaxiMum(Integer maxiMum) {
        this.maxiMum = maxiMum;
    }

    public Integer getMiniMum() {
        return miniMum;
    }

    public void setMiniMum(Integer miniMum) {
        this.miniMum = miniMum;
    }

    public Integer getEarnings() {
        return earnings;
    }

    public void setEarnings(Integer earnings) {
        this.earnings = earnings;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getXjEarnings() {
        return xjEarnings;
    }

    public void setXjEarnings(Integer xjEarnings) {
        this.xjEarnings = xjEarnings;
    }

    @Override
    public String toString() {
        return "SysGroupSetting{" +
                "id=" + id +
                ", grade=" + grade +
                ", earnings=" + earnings +
                ", xjEarnings=" + xjEarnings +
                ", maxiMum=" + maxiMum +
                ", contractType=" + contractType +
                ", miniMum=" + miniMum +
                ", createTime=" + createTime +
                '}';
    }
}
